using UnityEngine;

[CreateAssetMenu(menuName = "RPG Setup/Item Data/ItemEffect/RefundSkillPoint", fileName = "Item effect data - Refund all skill point")]
public class ItemEffect_RefundSkillPoint : ItemEffect_DataSO
{
    public override void ApplyEffect()
    {
        UI uI = FindAnyObjectByType<UI>();
        uI.skillTreeUI.RefundAllSkill();
    }
}
